package arxiv;

/*
 * SearchApp.java
 * An application for the user to input keywords for the reference search
 */


public class SearchApp {


    public static void main(String[] args) throws Exception {

    	// create object to store keyword data
    	KeywordData mySearchData = new KeywordData();

    	// form for entering keywords and displaying results
    	SearchForm mySearchForm = new SearchForm(mySearchData);

    	// controller to call the query, and return results
    	Query myQuery = new Query(mySearchData, mySearchForm);

        // Controller is an observer of the view
        mySearchForm.addObserver(myQuery);

    }

}


